#
# Be sure to run `pod lib lint MirrorLame.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = 'MirrorLame'
  s.version          = '0.1.5'
  s.summary          = 'MirrorLame can export the Lame to swift/OC as a framework module.'

# This description is used to generate tags and improve search results.
#   * Think: What does it do? Why did you write it? What is the focus?
#   * Try to keep it short, snappy and to the point.
#   * Write the description between the DESC delimiters below.
#   * Finally, don't worry about the indent, CocoaPods strips it!

  s.description      = <<-DESC
TODO: MirrorBugly can export the Bugly to swift as a framework module.
                       DESC

  s.homepage         = 'https://gitee.com/daolangzhenshuai/mirror-lame'
  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { 'Daolang Huang' => 'daolang.huang@thoughtworks.com' }
  s.source           = { :git => 'https://gitee.com/daolangzhenshuai/mirror-lame.git', :tag => 'Lame-' + s.version.to_s }
  # s.social_media_url = 'https://twitter.com/theochen'

  s.ios.deployment_target = '11.0'

  s.cocoapods_version = '>= 1.9.0'
  s.static_framework = false
  s.prefix_header_file = false

  s.source_files = 'Mirror/Lame/Classes/**/*.{m,mm,h}'
  s.preserve_paths = [
    'Mirror/Lame/README.md',
    'Mirror/Lame/CHANGELOG.md'
  ]

  s.vendored_frameworks = 'Mirror/Lame/Frameworks/*.framework'
  s.libraries  = 'z', 'c++'

  s.public_header_files = [
    'Mirror/Lame/Classes/**/*.h'
  ]
  
  #valid_archs = ['armv7', 'armv7s', 'x86_64', 'arm64']
  #s.xcconfig = {
  #  'VALID_ARCHS' =>  valid_archs.join(' '),
  #}
end
